<h1>Listing tickers</h1>

<table>
  <tr>
    <th>Item</th>
    <th>Start date</th>
    <th>End date</th>
  </tr>

<% for ticker in @tickers %>
  <tr>
    <td><%=h ticker.item %></td>
    <td><%=h ticker.start_date %></td>
    <td><%=h ticker.end_date %></td>
    <td><%= link_to 'Show', ticker %> | 
    	<%= link_to 'Edit', edit_ticker_path(ticker) %> | 
    	<%= link_to 'Destroy', ticker, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New ticker', new_ticker_path %>
